<div class="container-fluid form-horizontal">
  <style type="text/css">
	.line-middle {
		vertical-align: middle !important;
	}
  </style>
  <table class="table table-striped table-bordered dataTable">
    <thead>
      <tr>
        <th class="text-center" style="width: 7%" ng-repeat="item in skuArray">{{item.sku_type}}</th>
        <th class="text-center" style="width: 7%">库存</th>
        <th class="text-center" style="width: 7%">门市价</th>
        <th class="text-center" style="width: 7%">指导价</th>
        <th class="text-center" style="width: 7%">分销价</th>
        <th class="text-center" style="width: 7%">采购价</th>
      </tr>
    </thead>
    <tbody>
      <tr ng-repeat="obj1 in tabledata">
        <td class="text-center line-middle" ng-repeat="obj2 in skuArray" rowspan="{{obj1['rowspan'+obj2.id]}}"
        ng-if="$parent.$index%obj1['rowspan'+obj2.id]==0">{{obj1['name'+obj2.id]}}</td>
        <td class="text-center">{{priceMap[obj1.sku_key].stock_num}}</td>
        <td class="text-center">{{priceMap[obj1.sku_key].market_price | currency: '￥'}}</td>
        <td class="text-center">{{priceMap[obj1.sku_key].guide_price | currency: '￥'}}</td>
        <td class="text-center">{{priceMap[obj1.sku_key].cost_price | currency: '￥'}}</td>
        <td class="text-center">{{priceMap[obj1.sku_key].purchase_price | currency: '￥'}}</td>
      </tr>
    </tbody>
  </table>
</div>
